; StyleScript.cfg
; Please use this format when creating your own style scripts.

; Emulating:	BinaryChat 3.02 build 1114 (by Skywing)
; Author:	Spht
; Email:	spht.vl@gmail.com
; Website:	http://www.valhallalegends.com/spht/SphtBotv3/

; Use 'copy' trigger to make "shortcuts" to text (most useful for colors).
; Colors are in blue green red order (hex).  Put &h infront of 6-digit color identifiers.
; &hNAMECO is a special identifier for other user's name, which will display color based on flags.  Specify flag colors with 'nameco' trigger.

; Variables (used in 'event' trigger):
; %1 - Event id
; %2 - Name field of event
; %3 - Text field of event
; %4 - Product for showuser, join; otherwise blank
; %5 - Parsed stats for showuser, join; otherwise blank
; %6 - Flags field of event
; %7 - Flags field of event (in hex)
; %8 - Ping field of event
; %9 - Ping field of event (in hex)
; %10 - Described channel flags



; Timestamp.  /time/ is an internal identifier to insert stamp:
timestamp [/time/] 
timestamp color /WHITE/
timestamp format HH:MM:SS

; Shortcut to internal color identifiers
copy /NAME/ &hNAMECO
copy /SELF/ &hMYNAME

; General color map
copy /WHITE/ &hFFFFFF
copy /GRAY/ &h7F7F7F
copy /YELLOW/ &h00FFFF
copy /RED/ &h0000FF
copy /GREEN/ &h00FF00
copy /BLUE/ &hFFFF00
copy /MIDBLUE/ &hFF0000
copy /BLUEGREEN/ &h7F7F00
copy /PURPLE/ &hFF00FF
copy /DARKBLUE/ &h7F0000
copy /DARKPURPLE/ &h7F007F
copy /DARKYELLOW/ &h007F7F
copy /DARKGREEN/ &h10AF10
copy /DARKRED/ &h00007F
copy /LIGHTBLUE/ &hFF6F00

nameco name /WHITE/	; Non-self no-flagged name (used in user list)
nameco self /BLUE/	; Self name (also used in user list)
nameco 1 /BLUE/		; Blizzard Employee
nameco 2 /WHITE/	; Channel Operator
nameco 4 /BLUE/		; Speaker
nameco 8 /BLUE/		; Battle.net System Administrator
nameco &h20 /PURPLE/	; Squelched

; Chat events (0 is self-talk)
event 0 /blue/</self/%2/blue/> %3
event 1 /yellow//name/%2/yellow/ is in the channel using %5.
event 2 /green//name/%2/green/ joined the channel using %5.
event 3 /green//name/%2/green/ left the channel.
event 4 /lightblue/<From: /yellow//name/%2/lightblue/> %3
event 5 /white/</yellow//name/%2/white/> %3
event 6 /red/Server broadcast from /yellow/%2/white/: /red/%3
event 7 /red/Joining %10 channel %3.
event 10 /lightblue/<To: /yellow//name/%2/lightblue/> %3
event &hd /red/Channel %3 is full!
event &he /red/Channel %3 is empty!
event &Hf /red/Channel %3 is restricted!
event &h12 /yellow/%3
event &h13 /red/%3
event &h17 /white/</yellow//name/%2 %3/white/>
event &h80 /yellow/User update: /name/%2/yellow/ now has flags %7.
event &h81 /yellow/Stats update: /name/%2/yellow/ is using %5.
event &h82 /red/Duplicate user /name/%2/red/ is here using %5.
event &h83 /white/</yellow//name/%2/white/> /darkgreen/(Hex)/white/ %3
event &h84 /white/</yellow//name/%2/white/> /darkgreen/(DMEncrypt)/white/ %3
